<?php use_helper('Pagination') ?>
<?php	if(!isset($notes_pager) || $notes_pager == null || $notes_pager->getNbResults() == 0 ): ?>
	<div class="non-member">
		<h1>There are no notes for this class yet.</h1>
		<?php echo ($semester_id ? "<br><h2 align='center'>Also try searching for 'All' Semesters</h2><br>" : "") ?>
			<p>This class currently contains no lecture notes. Once the notes have been taken, you'll be able to view them, comment on them, and rate them. You'll see all the lectures for this class in a list, just like the sample shown below.</p>
			<p style="font-style: italic; text-align: center;">If Notes are available for other semesters in which this course has been offered,<br/>an option to change semesters will appear above this box.</p>
			<div class="buttons">
				<?php echo link_to('Start Writing Notes', 'notes/new?course_id='.$course_id, 
													array('class' => 'btn_start-writing-notes')
				)?>
			</div>
	</div>
	<img alt="Sample view" src="/images/img_sample_notes-listing.jpg"/>
<?php else: ?>
	<?php include_partial('notes/courseShowList', 
										array('group_id' => null,
											'course_id' => $course_id,
											'notes_pager' => $notes_pager,
											'page' => $page
														)) ?>
<?php endif ?>